package com.yjd.comm.user.model;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotEmpty;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：评级标准模型<br>
 * <b>time</b>：2014-12-02 11:58:28 <br>
 * <b>author</b>：  renbangjie_vip@163.com
 */
public class CheckTypeModel extends Model {

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	private Integer id;
	
	/**
	 * 名称
	 */
	@NotEmpty
	private String name;
	
	/**
	 * 最小积分
	 */
	@Min(0)
	@NotNull
	private Integer point_min;
	
	/**
	 * 最大积分
	 */
	@Min(0)
	private Integer point_max;
	
	/**
	 * 顺序
	 */
	@Min(0)
	@NotNull
	private Integer limit;
	
	
	@Min(0)
	@Max(1)
	@NotNull
	private Integer isneed;
	
	/**
	 * 最大图片数量
	 */
	@Min(0)
	private Integer picnum;
	
	/**
	 * 最小图片数量
	 */
	@Min(0)
	private Integer picmin;
	
	@Min(0)
	private Integer pid;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getPoint_min() {
		return point_min;
	}
	public void setPoint_min(Integer point_min) {
		this.point_min = point_min;
	}
	public Integer getPoint_max() {
		return point_max;
	}
	public void setPoint_max(Integer point_max) {
		this.point_max = point_max;
	}
	public Integer getLimit() {
		return limit;
	}
	public void setLimit(Integer limit) {
		this.limit = limit;
	}
	public Integer getIsneed() {
		return isneed;
	}
	public void setIsneed(Integer isneed) {
		this.isneed = isneed;
	}
	public Integer getPicnum() {
		return picnum;
	}
	public void setPicnum(Integer picnum) {
		this.picnum = picnum;
	}
	public Integer getPicmin() {
		return picmin;
	}
	public void setPicmin(Integer picmin) {
		this.picmin = picmin;
	}
	public Integer getPid() {
		return pid;
	}
	public void setPid(Integer pid) {
		this.pid = pid;
	}
	
}
